Ubuntu 16.04
Sponsored Link

Nginx : SSL Settings
2016/07/07
 
Enable SSL setting to use SSL connection.
[1]
[2] Configure Nginx.
root@www:~#
vi /etc/nginx/sites-available/default
# line 22: uncomment and add

        listen 443 ssl default_server;
        listen [::]:443 ssl default_server;
        
        ssl_prefer_server_ciphers  on;
        ssl_ciphers  'ECDH !aNULL !eNULL !SSLv2 !SSLv3';
        ssl_certificate  /etc/ssl/private/server.crt;
        ssl_certificate_key  /etc/ssl/private/server.key;

root@www:~#
systemctl restart nginx

[3] Access to the default site with HTTPS to make sure it works normally.
 
Tweet